﻿using Furion.Extras.Admin.NET;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace PrivateTracker.NET.Application
{
    //[Comment("种子信息")]
    //[Table("tracker_torrent")]
    public class Torrent //: DEntityTenant
    {
        [Comment("名称")]
        public string Name { get; set; }
        [Comment("标识")]
        public byte[] HashInfo { get; set; }
        [Comment("大小")]
        public long TotalSize { get; set; }
        [Comment("下载次数")]
        public long Downloaded { get; set; }

        public ICollection<Peer> Peers { get; set; }
    }
}
